﻿using GraphProcessor;
using IQIGame.Onigao.Logic;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [System.Serializable, NodeMenuItem(SkillEditorConst.SkillEffective + "/" + SkillEditorConst.Relive, typeof(SkillEditorGraph))]
    public class SkillEffectiveNode_Relive : SkillEffectiveNode
    {
        protected override ESkillEffectiveType effectType => ESkillEffectiveType.Relive;
        
        [InspectorName("治疗公式")] public int cureFormula;
        
        protected override SkillCustomConfig CreateConfig()
        {
            var rConfig = new SkillEffective_Cure_ConfigData()
            {
                cureFormula = this.cureFormula
            };
            return rConfig;
        }
    }
}